package ru.pbem.olympia.battles;

/**
 * Created by IntelliJ IDEA.
 * User: Roman Pavlov
 * Date: 28-Oct-2010
 * Time: 13:44:24
 */
public class Building extends CombatUnit implements Shelter{
    int size;

    public Building(int meleeAttack, int defense, int rangedAttack, int hitPoints, int size) {
        super(meleeAttack, defense, rangedAttack, hitPoints, false);
        this.size = size;
    }

    @Override
    public int getSize() {
        return size;
    }
}
